package chapter05.Example01;

public class Example01 {
    public static void main(String[] args) {
        String name = "朱小明";
        String str1=new String();
        String str2=new String("abcd");
        char[] charArray=new char[]{'D','E','F'};
        String str3=new String(charArray);//将char类型数组转化成字符类型
        byte[] arr={97,98,99};
        String str4=new String(charArray);//比特数组转化成字符串
        System.out.println(str1);
    }
}
